Skip to contentSkip to conversation

OpenVPN on OpenWrt

Openvpn-devel lancebaynes87 2 participants 4 messages Jul 16, 2011 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]...

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#2 lore raw

Where can I ask a question regarding OpenVPN?

Did I found a bug, or what?

Here:
http://unix.stackexchange.com/questions/16412/openvpn-on-openwrt

============ Forwarded message ============
From : lancebaynes87<[email protected]...> To : "OpenVPN" <[email protected]> Date : Sat, 16 Jul 2011 01:29:50 -0700
Subject : Re: OpenVPN on OpenWrt
============ Forwarded message ============

No one knows OpenVPN on the OpenVPN mailing list?

Then where could I ask this question?

Thanks.

---- On Fri, 15 Jul 2011 11:39:54 -0700 lancebaynes87 <[email protected]...> wrote ----

I want to make a step-by-step howto to how to manually configure openvpn under OpenWrt 10.03.

I'm almost fully done!

I just got a little [email protected]... end.

Can someone please help me, how has bigger knowledge in OpenVPN?

The howto/[email protected]... the end is here:

http://unix.stackexchange.com/questions/16412/openvpn-on-openwrt

Thank you in anticipation!

have a nice weekend!

#3 lore raw

Hi,

Quoted 1 line · On Sat, Jul 16, 2011 at 01:33:23AM -0700, lancebaynes87 wrote:

Where can I ask a question regarding OpenVPN?

openvpn-users would be better suited for user questions... or the openvpn forum (https://forums.openvpn.net/)

Quoted 4 lines

Did I found a bug, or what?

Here:
http://unix.stackexchange.com/questions/16412/openvpn-on-openwrt

Well, it's telling you where the problem is coming from:

Sat Jul 9 13:14:21 2011 WARNING: potential route subnet conflict between local LAN [192.168.80.0/255.255.255.0] and remote VPN [192.168.80.1/255.255.255.255]

don't use the same network for the LAN on the client side and the VPN addresses ("server ..." in the openvpn server config).

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#4 lore raw

yes, really sorry for posting to the devel-list, I already posted on the users+forum.

So the problem is at:

/etc/openvpn/server.conf

in the:

server 192.168.80.0 255.255.255.0

line! wow! :) thx. ehhh.... what should I write to get it work? :O Thank you!

---- On Sat, 16 Jul 2011 03:09:08 -0700 Gert Doering <[email protected]...> wrote ----

Hi,

On Sat, Jul 16, 2011 at 01:33:23AM -0700, lancebaynes87 wrote:
> Where can I ask a question regarding OpenVPN?

openvpn-users would be better suited for user questions... or the openvpn forum (https://forums.openvpn.net/)

> Did I found a bug, or what?
>
> Here:
> http://unix.stackexchange.com/questions/16412/openvpn-on-openwrt

Well, it's telling you where the problem is coming from:

Sat Jul 9 13:14:21 2011 WARNING: potential route subnet conflict between local LAN [192.168.80.0/255.255.255.0] and remote VPN [192.168.80.1/255.255.255.255]

don't use the same network for the LAN on the client side and the VPN addresses ("server ..." in the openvpn server config).

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW! 
 //www.muc.de/~gert/ 
Gert Doering - Munich, Germany [email protected]... 
fax: +49-89-35655025 [email protected]... 
#5 lore raw

Hi,

Quoted 11 lines · On Sat, Jul 16, 2011 at 03:59:45AM -0700, lancebaynes87 wrote:

yes, really sorry for posting to the devel-list, I already posted on the users+forum.

So the problem is at:

/etc/openvpn/server.conf

in the:

server 192.168.80.0 255.255.255.0

line! wow! :) thx. ehhh.... what should I write to get it work? :O

Find a network number that is not in use at the client or the server side.

server 192.168.81.0 255.255.255.0

might just work - we don't know your network setup.

How do you access the Internet? Is there another router for "Internet" (if yes, it needs to know that it should route the 192.168.81.0/24 to the OpenVPN router)? If the VPN and the Internet access is on the same box, you need to make sure that 192.168.81.0/24 is properly NATted (which *should* be automatic on the WRT, but check with "iptables -t nat -n -L")

There's lots of doku in the secure-computing wiki on this, like:

http://www.secure-computing.net/wiki/index.php/OpenVPN/Routing

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...